SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE [dbo].gspProductCategory_UPDATE
(
@productCategoryId int = null,
@name nvarchar(128) = null,
@description nvarchar(4000) = null,
@createdDate datetime = null,
@lastModifiedDate datetime = null,
@isDeleted bit = null
)
AS

UPDATE
  [dbo].[ProductCategory]
SET
  [Name] = @name,
  [Description] = @description,
  [CreatedDate] = @createdDate,
  [LastModifiedDate] = @lastModifiedDate,
  [IsDeleted] = @isDeleted
WHERE
  [ProductCategoryId] = @productCategoryId


GO
